export const REPORT_ERROR = '@@system/REPORT_ERROR';
export const CLEAN_ERROR = '@@system/CLEAN_ERROR';

export function reportError(error) {
  return {
    type: REPORT_ERROR,
    payload: error
  };
}

export function cleanError() {
  return {
    type: CLEAN_ERROR
  };
}
